package com.ljh.mall.mallseckill.service;

import com.ljh.mall.mallseckill.dto.SeckillSkuRedisDto;

import java.util.List;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2023/5/15 23:21
 * @description：
 * @modified By：
 * @version: $
 */
public interface SeckillService {
    void uploadSeckillSku3Days();

    List<SeckillSkuRedisDto> getCurrentSeckillSkus();

    SeckillSkuRedisDto getSeckillSessionBySkuId(Long skuId);

    String kill(String killId, String code, Integer num);
}
